<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<!doctype html >
<%@include file="../include/autoSNSBaseInclude.jsp" %>
<c:set var="roleCount" value="${roleCount}"></c:set>
<c:set var="messageCount" value="${messageCount}"></c:set>
<div class="head-bgd">
			<div class="head-size pr">
				<a class="white-logo fl " href=""></a>
				<a class="head-font fl " href="javascript:showmain();">首页</a>
				<%--最大 接收 数量99 超出会跑偏 --%>
				<a class="head-font fl " href="javascript:roleCenter();">任务(${roleCount})</a>
				<a class="head-font fl " href="javascript:messageCenter();">消息 (${messageCount})</a>
				<input type="text" class="sear-img w190 fl" name="" id="search"
					value="搜活动 搜投票 搜任务 搜话题">
				<a class="search-imgs fl " href=""></a>
				<a class="head-font fl " href="">账户</a>
				<a class="head-font fl " href="">帮助</a>
			</div>
			<div class="cb"></div>
		</div>
		
<script>
//任务中心跳转
function roleCenter(){
	self.location="${ctx}/snsCore/roleCenterAction.action?method=roleCenterInfo";
}
//消息中心跳转
function messageCenter(){
	self.location="${ctx}/snsCore/messageCenterAction.action?method=messageCenterInfo";
}
function showmain(){
	self.location="${ctx}/snsCore/getMyDynamicInfo.action?method=getMyDynamicInfo";
}
</script>